<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // const obj = {
        //     name: "Neal",
        //     age:19
        // }

        // console.log(obj.name)
        // console.log(obj.age)

        // console.log(obj['name'])
        // console.log(obj['age'])

        // let x = 'name'
        // let y = 'age'
        // console.log(obj[x])
        // console.log(obj[y])

        let min = 1
        let max = 99
        const obj = {
            min,
            max
        }
        console.log(obj)

    </script>
</body>
</html>